automatic time display in grid view column
2901
28-Dec-2011
in grid view one column name is date/time. when we will insert the record through grid view the date/time record will automatically store in the database.
Anonymous User
29-Dec-2011You can use cell_endedit event of datagridview to add automatically value in datagridview. You can take a look of following code snippet to perform this task.
Thanks.
suresh g
28-Dec-2011John Smith
28-Dec-2011If you talking about ( the date time should be inserted automatically in the database then for that you can use trigger in database)
http://mindstick.com/Articles/d9d0f625-6146-415b-b286-3319e3ec336f/?Trigger%20in%20SQL%20server
http://www.mindstick.com/Articles/f7074849-0e9e-463b-a12d-f3d7a35b2785/?Trigger%20in%20SQL%20Server
http://mindstick.com/Articles/8a50890e-16b5-4fc6-8970-54ae61a898f9/?Triggers%20in%20SQL%20Server